home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / asm / games / spritegrabber / grabber / texts.s < prev    next >
Text File  |  1980-01-03  |  11KB  |  297 lines

  1. palette_menu
  2.     XY    00,00,80,09,1,mtxt3,return
  3.     XY    00,10,15,09,1,ptxt2,load_palettes
  4.     XY    00,20,15,09,1,ptxt3,save_palettes
  5.     XY    00,30,15,09,1,ptxt7,return
  6.     XY    00,40,15,14,1,mtxta,exit_palette_editor
  7.     XY    00,43,15,04,4,ptxt1,return
  8. ;---------------------------------------------
  9.     XY    15,10,15,09,1,ptxt6,load_buffer_palette
  10.     XY    15,20,15,09,1,ptxt4,save_buffer_palette
  11.     XY    15,30,15,09,1,ptxt5,clear_buffer_palette
  12.     XY    15,40,15,14,1,mtxta,copy_colours
  13.     XY    15,43,15,04,4,ptxt8,return
  14. ;---------------------------------------------
  15.     XY    30,10,16,09,1,ptxt10,select_all_colours
  16.     XY    30,20,16,09,1,ptxt11,select_no_colours
  17.     XY    30,30,16,09,1,ptxt12,check_colours
  18.     XY    30,40,16,14,1,mtxta,get_used_colours
  19.     XY    30,43,16,04,4,ptxt9,return
  20. ;---------------------------------------------
  21.     XY    46,10,14,09,1,ptxt13,previous_palette
  22.     XY    46,20,14,09,1,ptxt14,next_palette
  23. ;---------------------------------------------
  24.     XY    46,30,04,24,1,mtxta,return
  25.     
  26.     XY    50,30,17,08,1,mtxta,do_rgb_red
  27.     XY    50,39,17,07,1,mtxta,do_rgb_green
  28.     XY    50,47,17,07,1,mtxta,do_rgb_blue    
  29. ;---------------------------------------------
  30.     XY    60,10,20,09,1,ptxt15,return
  31.     XY    60,20,20,09,1,ptxt16,transcol_routine
  32.     XY    67,30,5,24,1,mtxta,return
  33.     XY    72,30,5,24,1,mtxta,return
  34.     XY    77,30,3,24,1,mtxta,return
  35. ;---------------------------------------------
  36.     dc.l    -1,-1,-1
  37. ;---------------------------------------------
  38. edit_Menu
  39.     XY    00,00,68,09,1,mtxt3,return
  40.     XY    62,00,06,09,4,mtxta1,return
  41.     XY    68,00,06,09,1,mtxta2,save_iff_file
  42.     XY    74,00,06,09,1,mtxta3,save_lbm_file
  43.  
  44.     XY    00,10,15,14,1,mtxta,load_generic_sprites
  45.     XY    00,13,15,02,4,etxt2,return
  46.     XY    00,25,15,14,1,mtxta,save_generic_sprites
  47.     XY    00,28,15,02,4,mtxt15,return
  48.     XY    00,40,15,14,1,mtxta,save_new_sprites
  49.     XY    00,43,15,02,4,etxt3,return
  50. ;---------------------------------------------
  51.     XY    15,10,20,09,1,mtxt4,return
  52.     XY    15,20,06,09,1,etxt8,select_all_edit
  53.     XY    15,30,06,09,1,etxt9,select_none_edit
  54.     XY    15,40,15,14,1,mtxta,exit_editor_routine
  55.     XY    15,43,15,02,4,etxt1,return
  56. ;---------------------------------------------
  57.     XY    21,20,06,09,1,etxt12,gfx_mode_select
  58.     XY    21,30,06,09,1,etxt13,mask_mode_select
  59. ;---------------------------------------------
  60.     XY    27,20,08,09,1,etxt23,edit_list_up
  61.     XY    27,30,08,09,1,etxt24,edit_list_down
  62. ;---------------------------------------------
  63.     XY    30,40,20,14,1,mtxta,delete_edit_sprites
  64.     XY    30,43,20,04,4,etxt26,return
  65. ;---------------------------------------------
  66.     XY    35,10,15,14,1,mtxta,remap_sprites
  67.     XY    35,13,15,04,4,etxt14,return
  68.     XY    35,25,15,14,1,mtxta,edit_palettes
  69.     XY    35,28,15,04,4,etxt25,return
  70. ;---------------------------------------------
  71.     XY    50,10,04,09,1,etxt15,set_planes1
  72.     XY    54,10,04,09,1,etxt16,set_planes2
  73.     XY    50,20,04,09,1,etxt17,set_planes3
  74.     XY    54,20,04,09,1,etxt18,set_planes4
  75.     XY    50,30,04,09,1,etxt19,set_planes5
  76.     XY    54,30,04,09,1,etxt20,set_planes6
  77.     XY    50,40,04,09,1,etxt21,set_planes7
  78.     XY    54,40,04,09,1,etxt22,set_planes8
  79.     XY    50,50,08,04,1,mtxtA,return
  80. ;---------------------------------------------
  81.     XY    58,10,22,44,1,mtxtA,return
  82.     XY    59,11,05,02,4,etxt4,return
  83.     XY    59,18,05,02,4,etxt5,return
  84.     XY    59,25,05,02,4,etxt6,return
  85.     XY    59,32,05,02,4,etxt7,return
  86.     XY    59,39,05,02,4,etxt10,return
  87.     XY    59,46,05,02,4,etxt11,return
  88. ;---------------------------------------------
  89. ;---------------------------------------------
  90.     dc.l    -1,-1,-1
  91. ;---------------------------------------------
  92. Main_Menu
  93.     XY    00,00,80,09,1,mtxt3,return
  94.     XY    00,10,15,09,1,mtxt2,load_iff
  95.     XY    00,20,15,09,1,mtxt14,edit_sprites_routine    
  96.     XY    00,30,15,09,1,mtxt15,save_generic_sprites
  97.     XY    00,40,15,14,1,mtxta,exit_grabber
  98.     XY    00,43,15,10,4,mtxt1,return
  99. ;---------------------------------------------
  100.     XY    15,10,20,09,1,mtxt4,return
  101.     XY    15,20,20,14,1,mtxta,grab_sprite_routine
  102.     XY    15,23,20,10,4,mtxt16,return
  103.     XY    15,35,20,19,1,mtxta,return
  104.     XY    16,36,20,06,4,mtxt18,return
  105.     XY    16,44,20,06,4,mtxt19,return
  106. ;---------------------------------------------
  107.     XY    35,10,20,09,1,mtxt13,box_cut_mode
  108.     XY    35,20,20,14,1,mtxta,delete_sprite_routine
  109.     XY    35,23,20,10,4,mtxt17,return
  110.     XY    35,35,16,19,1,mtxt20,return
  111.     XY    35,44,16,5,4,mtxt21,return
  112. ;---------------------------------------------
  113.     XY    51,35,14,09,1,mtxt11,box_move_size
  114.     XY    51,45,14,09,1,mtxt12,box_add_size
  115. ;---------------------------------------------
  116.     XY    55,10,10,24,1,mtxt0,return
  117.     XY    55,18,04,09,4,mtxt5,return
  118.     XY    55,25,04,09,4,mtxt6,return
  119. ;---------------------------------------------
  120.     XY    65,10,15,44,1,mtxt7,return
  121.     XY    65,18,03,03,4,mtxt8,return
  122.     XY    65,26,03,03,4,mtxt9,return
  123.     XY    65,34,03,03,4,mtxt10,return
  124.     dc.l    -1,-1,-1
  125. ;---------------------------------------------
  126. mtxta1        dc.b    'SAVE:',0
  127. mtxta2        dc.b    $a1,'IFF',0
  128. mtxta3        dc.b    $a1,'LBM',0
  129. ptxt1        dc.b    $a1,'EXIT PALETTE',0
  130. ptxt2        dc.b    $a1,'LOAD PALETTE',0
  131. ptxt3        dc.b    $a1,'SAVE PALETTE',0
  132. ptxt4        dc.b    $a1,'SAVE BUFFER',0
  133. ptxt5        dc.b    $a1,'CLEAR BUFFER',0
  134. ptxt6        dc.b    $a1,'LOAD BUFFER',0
  135. ptxt7        dc.b    ' PALETTES:',0
  136. ptxt8        dc.b    $a1,'COPY COLOURS',0
  137. ptxt9        dc.b    $a1,'USED COLOURS',0
  138. ptxt10        dc.b    $a1,'SELECT ALL',0
  139. ptxt11        dc.b    $a1,'SELECT NONE',0
  140. ptxt12        dc.b    'CHECK COLS:',0
  141. ptxt13        dc.b    $a1,'PREV PALETTE',0
  142. ptxt14        dc.b    $a1,'NEXT PALETTE',0
  143. ptxt15        dc.b    'EDIT PALETTE :',0
  144. ptxt16        dc.b    'TRANSPARENT  :',0
  145. etxt1        dc.b    $a1,'EXIT EDITOR',0
  146. etxt2        dc.b    $a1,'LOAD GENERIC',0
  147. etxt3        dc.b    $a1,'SAVE SPRITES',0
  148. etxt4        dc.b    'WIDTH  :',0
  149. etxt5        dc.b    'HEIGHT :',0
  150. etxt6        dc.b    'DEPTH  :',0
  151. etxt7        dc.b    'PALETTE:',0 
  152. etxt8        dc.b    $a1,'ALL',0
  153. etxt9        dc.b    $a1,'NONE',0
  154. etxt10        dc.b    'GFX    :',0
  155. etxt11        dc.b    'MASK   :',0
  156. etxt12        dc.b    $a1,'GFX',0
  157. etxt13        dc.b    $a1,'MASK',0
  158. etxt14        dc.b    $a1,'REMAP SPRITES',0
  159. etxt15        dc.b    $a1,'1',0
  160. etxt16        dc.b    $a1,'2',0
  161. etxt17        dc.b    $a1,'3',0
  162. etxt18        dc.b    $a1,'4',0
  163. etxt19        dc.b    $a1,'5',0
  164. etxt20        dc.b    $a1,'6',0
  165. etxt21        dc.b    $a1,'7',0
  166. etxt22        dc.b    $a1,'8',0
  167. etxt23        dc.b    $a1,'UP',0
  168. etxt24        dc.b    $a1,'DOWN',0
  169. etxt25        dc.b    $a1,'PALETTES',0
  170. etxt26        dc.b    $a1,'DELETE SPRITES',0
  171. mtxta        dc.b    0
  172. mtxt0        dc.b    $a1,'BOX SIZE',0
  173. mtxt1        dc.b    $a1,'EXIT GRABBER',0
  174. mtxt2        dc.b    $a1,'LOAD IFF/LBM',0
  175. mtxt3        dc.b    'STATUS:',0
  176. mtxt4        dc.b    'SPRITES CUT :',0
  177. mtxt5        dc.b    ' X:',0
  178. mtxt6        dc.b    ' Y:',0
  179. mtxt7        dc.b    $a1,'SCREEN INFO',0
  180. mtxt8        dc.b    ' WIDTH :',0
  181. mtxt9        dc.b    ' HEIGHT:',0
  182. mtxt10        dc.b    ' DEPTH :',0
  183. mtxt11        dc.b    'BOX MOVE:',0
  184. mtxt12        dc.b    'BOX ADD :',0
  185. mtxt13        dc.b    'CUT MODE:',0
  186. mtxt14        dc.b    $a1,'EDIT SPRITES',0
  187. mtxt15        dc.b    $a1,'SAVE GENERIC',0
  188. mtxt16        dc.b    $a1,'GRAB SPRITE',0
  189. mtxt17        dc.b    $a1,'DELETE SPRITE',0
  190. mtxt18        dc.b    'CHIP :',0
  191. mtxt19        dc.b    'FAST :',0
  192. mtxt20        dc.b    $a1,'CODED BY',0
  193. mtxt21        dc.b    $a1,'K.MCINTOSH',0
  194. ;---------------------------------------------
  195. blank_status    dc.b    9,2
  196.         rept    50
  197.         dc.b    ' '
  198.         endr
  199.         dc.b    0
  200.  
  201. okay_status    dc.b    9,2,'OKAY. ',0
  202. nofilesel_status    dc.b    9,2,'NO FILE SELECTED.',0
  203. noiffform_status    dc.b    9,2,'NOT AN IFF/LBM FILE.',0
  204. noifffile_status    dc.b    9,2,'NOT AN IFF/LBM GRAPHICS FILE.',0
  205. noiffbmhd_status    dc.b    9,2,'COULD NOT FIND BITMAP HEADER.',0
  206. noiffcmap_status    dc.b    9,2,'COULD NOT FIND CMAP HEADER.',0
  207. noiffmem_status    dc.b    9,2,'COULD NOT ALLOCATE MEMORY FOR IFF FILE.',0
  208. noiffBODY_status    dc.b    9,2,'COULD NOT FIND BODY OF IFF/LBM FILE.',0
  209. nodetect_status    dc.b    9,2,'NO SPRITE DETECTED..',0
  210. nomask_status    dc.b    9,2,'NO MASK SCREEN ALLOCATED..',0 
  211. nosprite_status    dc.b    9,2,'TOO MUCH SPRITES ALREADY..',0
  212. nomemspr_status    dc.b    9,2,'NO MEMORY FOR SPRITE..',0
  213. nopalette_status    dc.b    9,2,'TOO MUCH PALETTES ALREADY..',0
  214. nomempal_status    dc.b    9,2,'NO MEMORY FOR PALETTE..',0
  215. pralloc_status    dc.b    9,2,'OKAY.. SPRITE MEMORY ALLOCATED:',0 
  216. dealloc_status    dc.b    9,2,'DEALLOCATED SPRITE...',0
  217. deallerr_status    dc.b    9,2,'NO SPRITE TO DELETE!!',0
  218. nospr_status    dc.b    9,2,'NO SPRITES TO EDIT.',0
  219. edit_status    dc.b    9,2,'PRINTING GRABBED SPRITES..',0
  220. planes_status    dc.b    9,2,'REDOING SPRITES WITH NUMBER OF PLANES',0
  221. nogen_status    dc.b    9,2,'NOT A GENERIC SPRITE FILE...',0
  222. nospal_status    dc.b    9,2,'NO SPRITES SELECTED TO CHECK..',0
  223. chkcols_status    dc.b    9,2,'CHECKING USED COLOURS..PLEASE WAIT..',0
  224. firstpal_status    dc.b    9,2,'FIRST PALETTE IN LIST..',0
  225. lastpal_status    dc.b    9,2,'LAST PALETTE IN LIST..',0
  226. remap_status    dc.b    9,2,'REMAPPING SPRITES...PLEASE WAIT....',0
  227. ;---------------------------------------------
  228. loadifftxt            dc.b    '....Load IFF / LBM File....',0
  229. saveifftxt            dc.b    '....Save IFF File.....',0
  230. savelbmtxt            dc.b    '....Save Lbm File.....',0
  231. save_generic_txt        dc.b    '....Save Generic Sprites....',0
  232. loadgentxt            dc.b    '....Load Generic Sprites....',0
  233. savebuftxt            dc.b    '..Save Buffer Palette File..',0
  234. loadbuftxt            dc.b    '..Load Buffer Palette File..',0
  235. palloadtxt            dc.b    '.....Load Palette File......',0
  236. palsavetxt            dc.b    '.....Save Palette File......',0
  237. save_amiga_planes_txt        dc.b    'Save Amiga Planes Sprites.',0
  238. save_amiga_interleaved_txt    dc.b    'Save Amiga Interleaved Sprites.',0
  239. save_copper_txt            dc.b    'Save Copper Sprites.',0
  240. save_pixel_txt            dc.b    'Save Byte/Pixel Sprites.',0
  241. save_genesis_txt        dc.b    'Save Genesis Sprites.',0
  242. save_genesis_txt2        dc.b    'Save Genesis Crunched Sprites.',0
  243. save_saturn_256_txt        dc.b    'Save Saturn 256 Sprites.',0
  244. save_saturn_128_txt        dc.b    'Save Saturn 128 Sprites.',0
  245. save_saturn_64_txt        dc.b    'Save Saturn 64 Sprites.',0
  246. save_saturn_16_txt        dc.b    'Save Saturn 16 Sprites.',0
  247. save_saturn_bgr_txt        dc.b    'Save Saturn BGR Sprites.',0
  248. Save_Saturn_chr8_txt        dc.b    'Save Saturn 8x8 Chars.',0
  249. Save_Saturn_chr16_txt        dc.b    'Save Saturn 16x16 Chars.',0
  250.  
  251. iffonlytxt        dc.b    '(#?.iff|#?.lbm)',0
  252. iff2onlytxt        dc.b    '#?.iff',0
  253. lbmonlytxt        dc.b    '#?.lbm',0
  254. genonlytxt        dc.b    '#?.gen',0
  255. spronlytxt        dc.b    '#?',0
  256. palonlytxt        dc.b    '#?.pal',0
  257. bufonlytxt        dc.b    '#?.buf',0
  258. checktxt        dc.b    42,32,'OFF',0
  259.             dc.b    42,32,' ON',0
  260. transtxt        dc.b    76,22,'OFF',0
  261.             dc.b    76,22,' ON',0
  262. blankpaltxt        dc.b    68,33,'      ',0
  263. bufpaltxt        dc.b    68,33,'BUFFER',0
  264. ;---------------------------------------------
  265. box_txt1        dc.b    45,12,'BOX KEYS ',0
  266. box_txt2        dc.b    45,12,'BOX MOUSE',0
  267. box_txt3        dc.b    45,12,'MOUSE    ',0
  268. ;---------------------------------------------
  269. dos_name        dc.b    "dos.library",0
  270. graphics_name        dc.b    "graphics.library",0
  271. intuition_name        dc.b    "intuition.library",0
  272. req_name        dc.b    'req.library',0
  273. inputdevname        dc.b    "input.device",0
  274. ;---------------------------------------------
  275. gfxtxt1            dc.b    68,40,'PLANES     ',0
  276. gfxtxt2            dc.b    68,40,'INTERLEAVED',0
  277. gfxtxt3            dc.b    68,40,'COPPER COLS',0
  278. gfxtxt4            dc.b    68,40,'BYTE PIXEL ',0
  279. gfxtxt5            dc.b    68,40,'GENESIS    ',0
  280. gfxtxt6            dc.b    68,40,'GENESIS CRN',0
  281. gfxtxt7            dc.b    68,40,'SATURN 256 ',0
  282. gfxtxt8            dc.b    68,40,'SATURN 128 ',0
  283. gfxtxt9            dc.b    68,40,'SATURN 64  ',0
  284. gfxtxt10        dc.b    68,40,'SATURN 16  ',0
  285. gfxtxt11        dc.b    68,40,'SATURN BGR ',0
  286. gfxtxt12        dc.b    68,40,'SAT CHRS  8',0
  287. gfxtxt13        dc.b    68,40,'SAT CHRS 16',0
  288. ;---------------------------------------------
  289. masktxt1        dc.b    68,47,'NONE       ',0
  290. masktxt2        dc.b    68,47,'FIRST      ',0
  291. masktxt3        dc.b    68,47,'LAST       ',0
  292. masktxt4        dc.b    68,47,'COL CALC   ',0
  293. masktxt5        dc.b    68,47,'END CODE   ',0
  294. masktxt6        dc.b    68,47,'COL + END  ',0
  295. ;---------------------------------------------
  296.         even
  297.